//
//  LPActivityDetailStudyNoDataTableViewCell.m
//  LovingPartyBuilding
//
//  Created by 刘应平 on 2017/6/9.
//  Copyright © 2017年 刘应平. All rights reserved.
//

#import "LPActivityDetailStudyNoDataTableViewCell.h"

@implementation LPActivityDetailStudyNoDataTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.backgroundColor = [UIColor whiteColor];
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        self.title = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, [UIScreen zj_screenWith], 80 * [UIScreen zj_screenHScale])];
        self.title.font = [UIFont systemFontOfSize:16 * [UIScreen zj_textFontScale]];
        self.title.textColor = [UIColor textBlackColor];
        self.title.backgroundColor = [UIColor whiteColor];
        self.title.textAlignment = NSTextAlignmentCenter;
        [self addSubview:self.title];
    }
    return self;
}

- (void)setHEIGHT:(CGFloat)HEIGHT{
    _HEIGHT = HEIGHT;
    CGRect frame = self.title.frame;
    frame.size.height = HEIGHT;
    self.title.frame = frame;
}

@end
